Correct variable name in an expect test