test global variables