added test for SolarSystemFactory and fixed it and SolarSystem