refactored tests using direct mocking of requests.get