finished unit tests for GVars._GVars