added tests to globals