added the stdout output when test errors, for convienience when accessing results through jenkins.