added before and after example for isDate validator