setDefaultValue method  more functional + test