Add testing for Emscripten exceptions support.