def METHOD_NAME(with_D, with_E):
    matrices = _build_matrices_lti(with_D, with_E)
    lti = LTIModel.from_matrices(*matrices)
    matrices2 = lti.to_matrices()
    _test_matrices_lti(*matrices, *matrices2, with_D, with_E)