semcomedi: small fixes for ROI

add test cases
update metadata correctly
fix position of each pixel to the center of their area