Added hieradata example
Added template test