BUG - Not unsetting variable in tests

Hi!
I have a pre-process script, where I am checking a variable, if it is empty, I am setting it to NULL.

pm.variables.set("FlexToken", null);
pm.environment.set("FlexToken", null);

if I run the custom script, it works and in the body I have:
“OptionalFlexRate”: “”

if I run the test in a test scenario (also after update and console output, that it should happen…) I have:
“OptionalFlexRate”: “{{FlexToken}}”
in the actual request, so it is not setting it to null.

Also, in test scenario, I can not scroll down in the pre process scripts. I can only see the first N lines… Is this a bug or 2?

please advice

found the solution, instead of setting it to NULL, I now use:

pm.variables.unset("FlexToken");
pm.environment.unset("FlexToken");