added tests for sharing/migrating objects