Test for check_dependencies, but need to trigger the import error instead of changing the dict