Added table event emitter to the tests
Added "table" event emitter