adding routes, unit tests for the routes