sensors: Add sensors test

You can now dynamically set the mode in the qml file.