Espacenet: Add patent number, fix tests