import_warnings in 002_strict_and_warnings.t: global_warnings?

use new global_warnings instead of deprecated import_warnings in test

It looks like somebody forgot to adapt this test when import_warnings was deprecated, so I tried to do that. At the very least there should be an issue on the deprecation notice. 

hope that helps