Rspec tests

Migration and improvements for unit testing of:
- `Assignment#groups_submitted` and
- `Assignment#add_csv_group`