Add a test for the global variable fix.