added new routes and tests for the routes