respond to PR feedback
- add planner test for the specific query mentioned in #515
- remove irrelevant order by in regresssion test