Added modify vars tests.