Add the testcase for https://github.com/kripken/emscripten/issues/2334 to the testsuite.