Added tests for bulk mail sending