optionDefinition.required and test