Add unit test for get_query_for_items_for_property (#7)
In preparation of handling no_grouping queries.
Bug: T237182