added reference to Brick object to Test class