fixed routing for tests