Add new_setFieldTest to test if given field's type matches.