Add expansion planning
Change how NewPlannerTestSupport works

Now uses a failure that makes it easier to see where the problem originates from
Add ExpandPipe and plugged it in

* Still not able to handle self referencing patterns