Fix test globals