def METHOD_NAME(self):
    """Test that the observable is copied if present."""
    m = qml.expval(qml.PauliX(0))
    copied_m = copy.copy(m)
    assert m.obs is not copied_m.obs
    assert qml.equal(m.obs, copied_m.obs)