use ClenshawPlan in roots
Added roots test