Update sensor with testcases