Added unit test for use case when order of keys in JSON-format of packed document is changed
but restored document is still identical to original document.