Add Tag GetCommitHash and GetObjectIdentifier for unit tests