[enhancement] updated tests to new email template resolving