Added tests for thymeleaf/thymeleaf-spring#72 and thymeleaf/thymeleaf-spring#73