fix some errors

in
 - annotation_categories_controller_test.rb
 - assignments_controller_test.rb