Mach test inference fix