Fixes and tests for ROISliceUtils