Fix random failures of Split and Merge tests