[Add] testWriteTransaction