Update test_variablethreads.py