unit test for PositionController->overwriteDemandObject added