Add more planner tests and Junit tests; Fix the group by multiple columns or expressions with alias problem