test for those start and end date validations