minor fix to log_test