quiet tests by abstracting logging actions