This is not the first time I've met that kind of error. We should also test template rendering in the unit tests.