Mock urlopen in importer_tests