Merge "[Table Logging] Add tests for `logDiffsForTable`." into tm-qpr-dev