Changed requests import in tests.