To read all characters of the test data columns, please edit
vars[vars.length-1] = lastVariable.slice(0, (lastVariable.length-1))
vars[vars.length-1] = lastVariable.slice(0, (lastVariable.length))
The WebDP backend v2 checks that the data columns correspond to the schema, so it cannot read the data without that last character.