Tested when commit message is empty, should throw exception