Small tweaks to test output.
Fixes a bug in how we collected changed values before applying a sync change.
Renaming 'recentKeyTimestamps' to '_memoryKeyTimestamps', and minor variable naming changes.