Update number of expected assertions in attribute tests