Fix unit tests for dovecot template