Added functional tests for sensors
Support for Travis-ci