Added tests for thymeleaf/thymeleaf#262