Fixes #3967: inject routes in request tests to avoid conflict with application's routes