1) response entity added to exception if problem running request, 2) expected query actions compared to actual, throw exepction if different