Added unit test for null response