This tests that list items are properly marked when some of the items are indirect children of the list element.