Add a test for the AttendancesController