test with sensor = false