Added students.views.assignment tests for when user is a teacher