ir tester work