Move test for simplicity of line string from checkControlPointReuseInPolyline() to handleObjectEvent()