Added sys.exit in test-import because ImportError exception does not cause proper exit error on Windows.