Added a test for the Mail class