the git.commit()...call() already returns the RevCommit you are searching for. No need to call git.log() . Or do you explicitly wanted
to test that the log command finds the last commit.

This comment is also true for the remaining new tests.