Attendance api update test