fix tests for the next date check #6