Adds global variable test