Add some tests for the router component.