Project: datamanagement
Issue DM-1622: Add unit test for queries from DM-1539
Need to add unit test for queries listed in DM-1539
Story points: 1