Add tests to CountsComputer
Remove old unnecessary test
Fix BatchingPageCache to use always a SYNCHRONOUS writer for the CountsStore

This is necessary to make sure that we write to disk immediately the changes to the
counts store since we circumvent the page cache to read the counts
Create a new CountsStore when migrating [BROKEN]