Simplify global-config tests by removing state