adding test for getting the sha of the commit
genric fixes