test log_const_theta with stopping