add test cased, but ipopt seems work wrong