silencing logging during tests