Added test for autoclosing li.