Adding tests for DmMailer factories
Removing unneeded dependency