Fixed a problem when resolving term namespaces in SetTerm: I was converting the namespace expressed as a GID into an NID before the unserialisation, I had to serialize the value before unserialisinf the object.
Continuing the COntologyWrapper test check.