Add ImageSensor tests