hw: first attempt at building unit tested constructors with methods