Fixed test, and renamed variable.