Added ability to select properties emp.department.name. Also added ability to have uniqueSearch indexes and wrote test to use uniqueSearchIndex in Query.