Added haveLocalChanges test to orm spec.
Added TNV test to orm model spec.