Spec for setAlternatives