Added more test cases for templates and accounts.
Added more test cases for templates and accounts.