test different instance types for repr