Fleshing out of tests for queries in CourseResourceImpl.