Use a random generator for fake timestamps
Improves reproducibility (going back in time ain't cheap)
This random generator can be seeded via the FLEXISEED env var (which can also be used for other tests in the future)
(cherry picked from commit 07b3dedc)