correct test for log_init