add test for global-config