Added a test for creating and spreading a new attribute in a shared object