Testing extraction of names and codes in all()