both a merge correction, and change to make connections/connection/TestBatching py3 compatible