fix raw grade dump in standard instructor dashboard
Added test and cleaned up code formatting