added type for 'batch'
ClientConnectorTests: added convenience assertion routine 'assertCommandsTransmitted' and timeout for CountdownLatch