Added permission form template generation class with matching testclass.