datastore: tests: refactor pb/transaction.