Fix refactor requests test.