LPS-51565 add tests for getting primaryKeys from treePath string