Create Sensor Testing Code