Are you sure you tested the light sensor during the call? It's the proximity sensor that is active during the call and turns the screen on and off. The light sensor is slower in response generally, and indeed if there is even one light that is looking down the phone, the keyboard light turns off.