add stack trace in test error