corrected test testGetStackTraces: actual stack traces are compared line-by-line to the expected ones.