Add tests on including templates.