working on logging in unit tests