I made it so that the MockWorker class aggregates all the functions that are called on it in a `received` object and you can check that at the end for any arbitrary checks that you, as a user of the class, want. I also removed the dependency on EventEmitter2 by just making the subclasses listen for the events that they care about directly instead of listening to all events.

bb5587a4dfb16db72cd5ead755769e7062d9730b