Added tests for setProperty handling objects
Added tests for setProperty handling objects