Adding tests for subscriptions to all events.

Also sending the event name along with the slaveId.