Slightly improved logging during junit tests