test run and suppress console logging in test