Log to /dev/null in the test environment

This was making the test output rather noisy, so
let's throw away the logs in the test environment