tests for homework 1 from defining classes