TESTS: added test_md5, small bugfix in MD5.cpp