use new global_warnings instead of deprecated import_warnings in 002_strict_and_warnings.t