added sample for check required args with default values