Silence the logger when running the test

Fixes #9