Converted unit tests to rspec for grade model

Carriage return character detected.