Fixed minor issues in CommitEnhancement integration test that prevented it from running on Jenkins CI.