#263 add txn discard test