Similar Items: On the production testing of analog and digital circuits