fixed flaky test and made logs less verbose