Added tests for thymeleaf/thymeleaf#172.