refacter md5 test