Alter tests so that they finish without breaks.