add Finalize()s and TestPlanet