Add unit tests for property update and reference updates