Add an autotest for SensorDataModel
Does the model test magic and also verifies that ordering is correct.