Test addInv for Mod5