[Routing] Added Router tests and fixed an exception message.