[#858] corrected test to use variables that actually exist