Add test script for debugging valid_sensor_data function