Testing methods in MoodelRestCourse and updating where appropriate.