we mock the date because previous implementation used `new Date()` without any arguments and was setting the day, year, month individually (which caused the bug in question). So I wrote a failing test and later changed the implementation to fix the bug.