Add tests for routes