Added appendEvents tests.
Added distributeEvents missing tests.