Tests for router