adapted test_log.cpp to newest impl