properly fixing test logger