public void CheckHtmlTagsAfterTitleUntilBodyTest()
        {
            string textGood1 = "<html><head><title> Some title </title></head><body>";
            string textGood2 = "<html><head><title></title></head><body>";
            string textGood3 = "<  html  >   <head>  <  title> Some title <  /title>  <  /head  ><  body   > something";
            string textBad1  = "";
            string textBad2  = "<html><head><title";
            string textBad3  = "<html><head><title> something ";
            string textBad4  = "<html><head><title> something <";
            string textBad5  = "<html><head><title> Some title </title></head>";

            Parser.Parser p = new Parser.Parser();

            Assert.AreEqual(true, p.CheckHtmlTagsAfterTitleUntilBody(textGood1));
            Assert.AreEqual(true, p.CheckHtmlTagsAfterTitleUntilBody(textGood2));
            Assert.AreEqual(true, p.CheckHtmlTagsAfterTitleUntilBody(textGood3));
            Assert.AreEqual(false, p.CheckHtmlTagsAfterTitleUntilBody(textBad1));
            Assert.AreEqual(false, p.CheckHtmlTagsAfterTitleUntilBody(textBad2));
            Assert.AreEqual(false, p.CheckHtmlTagsAfterTitleUntilBody(textBad3));
            Assert.AreEqual(false, p.CheckHtmlTagsAfterTitleUntilBody(textBad4));
            Assert.AreEqual(false, p.CheckHtmlTagsAfterTitleUntilBody(textBad5));
        }