added test for isDate widget