Tweak test_requests.py for easier test generation