Previously, the code just returned the input requests, which happened to work
Converting more test functions to use it (and then splitting out test functions into their own files) is left for a follow-up commit.