Added functionality to update partial stores.xml. Added unit tests for the new functionality