Test for memmove

Add test related with https://github.com/kripken/emscripten/issues/829