output stacktrace to console on errors thrown in tests