jasmine.ModeSelector setSelectedMode selects the new mode and unselects the old one (from jasmine.specs)