tests for router