Add expansion test (re)defining a compact IRI using itself

@dlongley, this currently leads to an error in your implementation. I don't see compelling reason why we should disallow this.