Add test cases regarding unordered, null list of attributes and nested XML and Json documents