Added test classes for GET and POST requests.