def METHOD_NAME(self):
    bqm = dimod.BinaryQuadraticModel({0: 1.}, {(0, 1): 2, (2, 3): .4}, 0.0, dimod.BINARY)
    s = coo.dumps(bqm)
    new_bqm = coo.loads(s, vartype=dimod.BINARY)
    self.assertEqual(bqm, new_bqm)