bugfix in test_logdet: input should have positive determinant