fix mulmod
refactor mrtest