fixing up message digest unit tests