Testing for commit hash function