matching now working in attribute tests