Test router

Moving ejtp.router doctests to proper unittests. #78