sha1 & unit test