Merge "Add more tests for GlobalVarConfig"