Tests for setting the template engine using a header.