I once knew a guy at John Deere, he worked on the diagnostics side of the ECM and one of their projects was working on code to detect sensor fooling boxes yet be able to monitor normal and abnormal real sensor operation.