fixing the requests tests