Reset global state after each test.
Reset global state after each test.


Former-commit-id: 421b6945571841425cb732b14112ceaf2b237040
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine