wrote test for slsqp_wrapper.py