Added "table" event emitter and test