md4 test refactoring