cpp: LogTsdb: passing unit tests