responseObject logging and assert for test.