added test_log.cpp