Started to add tests for tolerated open events.
Added the ability to test that events were raised.