Added WriteTransactionTest