Updated test to match new code for IR sensor