Friend the IR_test class and make get_orientation private again.