add test for hashing
add test for md5 update
fix md5 update