Added assert_should_dispatchedEvent to TestCase