Added tests for Events and Commitments. There are some problems with commitments and events being equal to other commitments and events