Test basic object creation and instance variable assignment