Assignments controller tests