first attempt at unit tested constructors with methods for homework