update spec for #1119 and rework the whole section on switch/case/else
more switch related spec work