final test with sensor