Added TemplatesApi unit tests

You are not verifying the content that you are sending.