What you need to know is that you only have to edit two files. One is the Test file and is obvious from looking at the code. The other file is called DefaultEventManagerImplementation or something similar.
This is the class that you have to understand and focus all your time on understanding what is going on in here.