Added test for sensor deletion.