Add test for updateProperties affecting the data store
Fix updateProperties modifiying models stored in memory adapter