Add spec for switch blocks