added ir tester code into Platform