added more unit testing for shared XML backend

Change-Id: I00373439620121d7d3e19a361941499a6996c71d