variable should be called global state in test.py