Adding a magtest activity in a course uses the standard procedure in moodle :
Back to component index - Plugins index - Back to catalogue