CMS-3979 Implement tests for thymeleaf module.