added test for safe_md5