added test for routes
Merge pull request #35 from yogthos/master

tests for route restrictions