added tests for all routes