Was this test case failing on master? Do we have sufficient test coverage? The details of loading the import graph are pretty subtle. Maybe we could, say, keep track of the number of files parsed during `load_graph` and test that it is zero in certain cases when using the cache (and non-zero when not using the cache)?