improve test logging