Adds timecop for testing time
Adds event generation