Add spec for :os operator.