Continuing to fix tests by mocking the logger

Includes a small fix for logger printing involving unicode conversion (to pacify
all pythons).