Modified tests for shapes to include test for class constructors.