Add Testing Service

For UnitTest aka Model/*.php
Fix Bug CreateTemplatePayment In TemplateEditCtrl