def METHOD_NAME():
    test = KPSSTest(alpha=0.05, null='trend', lshort=False)
    pval, do_diff = test.should_diff(austres)
    assert do_diff  # show it is significant
    assert np.allclose(pval, 0.01, atol=0.005)
    # test the ndiffs with the KPSS test
    assert ndiffs(austres, test='kpss', max_d=2) == 2