Add test for PlanCalc