slowing fixing each bug for asm.js validation
fix a few arithmetic bugs, more tests