add the check case if ipopt is the default solver in testNLP