Test case for Router.