Add PositionState and tests for it.
Add multi-state tests for PositionState.