Fixed Thymeleaf test problem/bug with small workaround