Add unit test for SHA-1 library.