Tests correctly check for the core object
Use an import error instead of a plain exception