Added unit test for ownership.
Added 'insert'.