fixing path handling in the figuring out of the parent path
fixing up scripted test to prove Template generation works