added insert_timing test and cleaned up event generator