Fix to actually call the test email function.
Merge pull request #496 from Jedwondle/v1.2

Fix to actually call the test email function.