adding tests for router