Add test cases for routing