LevelDB input/output tests in cc