Added tests for route.go