Use setMwGlobals on execption tests