Adding tests for remaining cases around adding subobjects to collections
Added remaining sec tests for adding subobjects to collection.