Ensure template function can return a dom node. With regression test.
5.1.5