Added failed test for the issue #151
Fixed include from extended templates.
Merge pull request #166 from lyncodev/include-from-extended

Fix 151