enhance test logging