1) Fixed tests
2) Fixed Absences update to db functionality