tests for response objects