rename test.
Refactor test to use tryCommit()