Added more tests for stacktraces