Fix absolute mid and add lang tests to all.js.