test getting globals