test using dates on the same day