Added unit tests for PaymentTemplate