add test for stacktop after exception

(tests commit 59e10a383f385edeedca1e01a2755d179058cbc1 in emscripten-fastcomp)