Only emitt events if callback is missing
Added test for event emitter
Updated readme