added test_vars
fixed test_vars