added some tests on aggregate and events
trying to close the es branch