'Test course saving.'

def test_save(self):

    course = CourseFactory.create()
    tabs.primitive_insert(course, 3, 'notes', 'aname')
    course2 = modulestore().get_course(course.id)
    self.assertEquals(course2.tabs[3], {'type': 'notes', 'name': 'aname'})
