Test program for sensors