Test loading from IRI, inputstream, reader