tested Assignment#grade_distribution_as_percentage
refactored code for readability
migrated Assignment#get_detailed_csv_report
simplified student_memberhip creation due to changes in its factory
fixed houndci complaint
removed unused test code
Merge pull request #1927 from kubasub/rspec-tests

Rspec tests