Testing the dates