Adding some test to generic email class