def METHOD_NAME(self, data=data, result=tv.md, custom=custom, test_class=test_class):
    hobj = test_class.new(data=data, custom=custom)
    digest = hobj.read(len(result))
    self.assertEqual(digest, result)