Fixed unparsed <li>s, added tests