move test object creation to superclass