add tests to routing and rewrites
0.1.1