Tests and impl for TransactionStore