Added global variable test program.