Added more comments and more tests.
New tests test the fileio of PersistSymbolXML.
It assumes that all systems have writable public documents folder.