Added connection/listener tests