tests: Use proper date initialization
This actually fixes the ci [1]
[1] https://jenkins.softwareheritage.org/job/DLDBASE/job/tests/801/console