added test for GET requests