added unittest for author mail