added a test to make sure that if we use the same date for the generate_dates method, we will get an array with element