Add tests for diffing arrays on dirtyKeys.