def METHOD_NAME(self, tape, output):
    """Tests that the sign_expand transform returns the correct value"""
    tapes, fn = qml.transforms.sign_expand(tape)
    results = dev.batch_execute(tapes)
    expval = fn(results)
    assert np.isclose(output, expval)