sha1 updated and test added

The sha1 was updated to v2.303 and the “version” test was replaced by a
meaningful test with mock sequences.