added another test for log_det