Update engine test in C and makefile for emscripten.