adds more transaction tests, and reconnect will now flush the transaction count