Completed cache.Tx tests and added benchmarks