Minor improvement of SensorDataGetTest.

- move test after the create sensor test, to increase the likelihood of
  an existing sensor
- print warning when the function cannot be tested