Add test code for getting and setting target grade for a course