Fix typo/race-condition in requests test