Added tests for the router class.