errors in unit test for PositionController->overwriteDemandObject fixed (method is static and was not called)