test case for response