Add test code for getting letter grade for a course