unit tests for PositionController->overwriteDemandObject added