Fix remove_empty_pars tests