Would be great to have unit tests instead.
We should have a function or method, somewhere, that, given a request, returns a template engine factory.
That function would be easier to unit-test.
Perhaps that function would be part of diecutter.settings.

Another unit test would be to check that the "function that returns engine factory" is called with expected parameters by Service class. Perhaps use mock library for that purpose.