Adding another test for applyVars.