Add more tests for GlobalVarConfig

Change-Id: I31d50a0636792104e32e3f25694f45942c5c0217
Merge "Add more tests for GlobalVarConfig"