Fix nested transaction test