added tests for the no courses/join sample course functionality