better stack traces when testing