fix up tests for message-digest