Added tests for the csv upload mailer and resend action