Fix tests now that global is not default