Test for router functionality