added tests for routes
removed some test code.  increased coverage
Merge pull request #11 from wiggzz/devel

Pulling in tests.