simplify the date default option test