Add a random generator.
name the tests properly
transform date objects as well
Verify that insertion with an explicit date works