fixed failing tests for router_spec