all of connection, event handling, emitting pass tests