testing for stacktrace, in prep for refactoring