Tests for any() and all().