Fix the test. It should be testing for the Path.
Add midlewares. Array of functions + loop