Fix unneeded checks in router tests