Added testcase for distance sensor but doesn't work right now