Minor change to the absences controller. I had to place send email function obviously BEFORE potentially destroying the object. The emails are now sending correctly again. Also fixed some unit tests.