Adding tests for DmMailerCli factories