Added a getter method to response.php.
Added test cases of response.php.
Completed test cases of Response class.