Silence log output in tests

We don't want the importer printing log output when running tests.

This gives it a logger parameter which defaults to using the nil logger.