Added RouteServiceTest.
Bug fixes.