fixed issues with datetpicker tests