move date-creation closer to the mock-call, to minimize chances of a test-failure because of a race-condition