Update all test case to work with routes implementation.

This completes conversion from traversal to route by porting all
existing test cases to use routes and move some test into model.