added call test for getEmailTemplate