More test fixes after asmjs backend refactor.