tested creation of custom types