These are the main tasks necessary to assign a student to a test:
Create the student record, as described in
Create and Edit Student Records
Register the student in a test administration, as described in
Register Students in a Test Administration
Assign the student to a test, as described in
Manage Student Test Assignments