fix testSetVariables #2