Lokesh| FunctionalTest refactoring for ConfigureProgramTemplate