Added tests for thymeleaf/thymeleaf#288