Fixed a missing rollback in testCommit