added tests for auto-route