Tests for thymeleaf/thymeleaf#231. Bad in-depth search in DOM Selectors