eliminated unnecessary pointer usage from EventManagerTests
changed set_dump_freq to take 0 or neg values - they just mean flushing every event.