Improved tests and fixed updated participations mail.