Added tests for shared objects