Writing the test for the express route