Fix unit-tests

Since we now include the end date in the results we need to take a day earlier to have
the same results