Event listener

This is a pull request used to discuss the implementation of the event testing framework into the testing suite.