validation and unitTest on the validation for ProgramSetting