added test for router