Wrote tests for the router