fixed LUN1271; wrote a test
retrieves ancestor template + 2 tests
asserted template existance; readabilty changes
Merge pull request #17 from pbs/LUN1271

fixed LUN1271; wrote a test