Adds tests for the routes and updates test dependencies.