Are these required by some outside function to be globals? Unless something we're using (e.g. an old phpBB function with globals) requires it, we shouldn't be declaring the globals in the tests.