added event emitter capabilities to mock
1.1.0