test global variable