Attendance api test