Modified the GetDevicesInViewWithIntersectionPoint to support moving devices. Added more accurate test cases