fixed the giant stacktrace in tests