Added test for response callback