Fixed unit tests.
objId on collection is no longer required field.