multihash test helper
added io.{Reader, Writer} support