Log the full stack trace when a test fails