add log version, tests