refactor(test): Allow logging level and logging handlers to be set via config.

* Set the minimum level to "ERROR" for tests.
* Set the default handlers to 'console' and 'file'