add test variable after log_init
add tests for log_create