added unit test cases for SendTemplatedEmailHelper