Test for md5 and sha1 functions