Add stack traces for test failures on Travis build.