@Test
public void testOutliers() {

    X13Specification xspec = X13Specification.RSA4.clone();
    TsPeriodSelector sel=new TsPeriodSelector();
    sel.excluding(0, 24);
      sel.all();
    xspec.getRegArimaSpecification().getBasic().setSpan(sel);
    xspec.getRegArimaSpecification().getRegression().add(new OutlierDefinition(new Day(1993, Month.May, 0), "AO"));
    xspec.getRegArimaSpecification().getOutliers().setDefaultCriticalValue(3.5);
    X13Processor processor = new X13Processor();
    CompositeResults rslt = processor.generateProcessing(xspec, null).process(Data.P);
    PreprocessingModel model = rslt.get("preprocessing", PreprocessingModel.class);
    assertTrue(model.description.getOutliers().size()>1);
}