Fixed tests in order to adapt to implementation of thymeleaf/thymeleaf#265 and thymeleaf/thymeleaf#266