added tests for model collection and router