assert sorted(new_dates) == sorted([datetime(2018, 1, 31, tzinfo=pytz.utc), datetime(2018, 2, 28, tzinfo=pytz.utc)])