simple tests for emailer module