Make test that changes global state sync