Add unit tests for some of the property deduplication stuff in store migration