Add 'config-declared global' test
Implement config.globals