Test cases for ParsePlan