Rspec tests

Added testing for two `Assignment` methods:
- `#grade_distribution_as_percentage`
- `#get_detailed_csv_report`

Refactored a couple of small things:
- 4b3d29a
- 95920e9
Final newline missing.