Use expect syntax in attribute_examples