Fix test case for router