Router unit tests