Made changes to test isDate.