added test for isDateTime widget