Add tests for events mechanism.
Add README and changes file for events mechanism.