test attendance add mdlcourse, mdlquiz id