Test for thymeleaf/thymeleaf#267