check that global options do not change when running tests