public void SetSchemaLocationTest()
    {
      string schemaLoc = "bla";
      MeiDocument testDoc = new MeiDocument(new Mei(new XAttribute("label","foo")));

      testDoc.SetSchemaLocation(schemaLoc);

      Assert.AreEqual(schemaLoc, testDoc.SchemaLocation);
    }
    public void SaveDocumentTest()
    {
      if(File.Exists("test.xml"))
      {
        File.Delete("test.xml");
      }

      MeiDocument testDoc = new MeiDocument(new Mei(new XAttribute("label", "foo")));
      testDoc.SetSchemaLocation("foobarfoobarfoo");

      testDoc.Save("test.xml");

      bool check = File.Exists("test.xml");

      Assert.IsTrue(check);
    }