Add tests for isOnPlanet