A gadget and a lawsuit could unravel the secrets behind ‘Why the ice cream machine seems to be always broken at McDonald’s’