Fixed bug : remove OSWeakReferenceAttribute objects
Add test code