fix testSetVariables