Test slice and alternation.