Added test function for GetCommit and ran it successfully!