Fix unit tests for commitRelease.