Add test code for getting gpa for a course