Test cases for Router.