Tests fixed and refactored
iri can be blank