test_rest: enhance error checking in negative aggregation test
test_rest: enhance error checking in negative aggregation test

This checks for more details that just a string in the error returned by the
API.

sileht/gnocchi,sileht/gnocchi,gnocchixyz/gnocchi,gnocchixyz/gnocchi