Extract a decorator to disable purging requests

For tests that don't make assertions on the purge_requests mock, so that
they do not have to accept the mock as a parameter. It keeps the tests
small and obvious.