testObject added to get class of an input object