Added StateDelta and tests