built tests for the SpaceMonster class & fixed the errors in that