Fixed skipped ImportError testing.py

First all import errors were skipped, now only the right ones are.