Added Functional Test

Functional test added, license added, minor updates to same of the
templates to better interact with functional test