CONTRIB-3782 Updated tests and the method used to moved a sidebar course section that has become visible back to being an orphaned section.