SERVER-11679 improve query planner unit test