Test fixes, trying to get LevelDB tests to pass (problem with 'getEntryCount()')