SERVER-11679 add some missing query planner tests

Adds additional test cases to query_planner_test.cpp. Also includes some cleanup of the query planner test framework methods / setup.