TST: refactor optimize/tnc tests
TST: refactor optimize/tnc tests

- Make tests individual (were all in one previously).
- Use `assert_almost_equal` so that things are actually checked.

aarchiba/scipy,richardotis/scipy,mdhaber/scipy,witcxc/scipy,gdooper/scipy,felipebetancur/scipy,rgommers/scipy,gef756/scipy,witcxc/scipy,e-q/scipy,pizzathief/scipy,juliantaylor/scipy,jonycgn/scipy,jsilter/scipy,jonycgn/scipy,sriki18/scipy,vanpact/scipy,zaxliu/scipy,jseabold/scipy,zxsted/scipy,ilayn/scipy,zaxliu/scipy,anntzer/scipy,minhlongdo/scipy,maniteja123/scipy,endolith/scipy,person142/scipy,mdhaber/scipy,mdhaber/scipy,nmayorov/scipy,vberaudi/scipy,gertingold/scipy,Dapid/scipy,giorgiop/scipy,endolith/scipy,vigna/scipy,ales-erjavec/scipy,andim/scipy,ndchorley/scipy,trankmichael/scipy,pnedunuri/scipy,ortylp/scipy,pschella/scipy,Newman101/scipy,andyfaff/scipy,lhilt/scipy,FRidh/scipy,petebachant/scipy,josephcslater/scipy,gef756/scipy,dch312/scipy,fernand/scipy,jamestwebber/scipy,richardotis/scipy,scipy/scipy,sargas/scipy,Kamp9/scipy,arokem/scipy,mhogg/scipy,ortylp/scipy,WarrenWeckesser/scipy,mgaitan/scipy,cpaulik/scipy,vanpact/scipy,jakevdp/scipy,nonhermitian/scipy,minhlongdo/scipy,matthew-brett/scipy,perimosocordiae/scipy,ales-erjavec/scipy,FRidh/scipy,nonhermitian/scipy,trankmichael/scipy,pyramania/scipy,kleskjr/scipy,jseabold/scipy,matthew-brett/scipy,gertingold/scipy,sonnyhu/scipy,jseabold/scipy,zaxliu/scipy,nonhermitian/scipy,chatcannon/scipy,matthewalbani/scipy,argriffing/scipy,jakevdp/scipy,niknow/scipy,maniteja123/scipy,ChanderG/scipy,aman-iitj/scipy,ortylp/scipy,bkendzior/scipy,aman-iitj/scipy,fredrikw/scipy,raoulbq/scipy,Shaswat27/scipy,nvoron23/scipy,jsilter/scipy,Newman101/scipy,ilayn/scipy,mtrbean/scipy,vhaasteren/scipy,e-q/scipy,Srisai85/scipy,teoliphant/scipy,lukauskas/scipy,gfyoung/scipy,zerothi/scipy,hainm/scipy,vberaudi/scipy,behzadnouri/scipy,chatcannon/scipy,ChanderG/scipy,aeklant/scipy,josephcslater/scipy,grlee77/scipy,lhilt/scipy,gertingold/scipy,gfyoung/scipy,dominicelse/scipy,andim/scipy,jakevdp/scipy,kalvdans/scipy,woodscn/scipy,aeklant/scipy,WarrenWeckesser/scipy,WarrenWeckesser/scipy,tylerjereddy/scipy,mhogg/scipy,aman-iitj/scipy,matthewalbani/scipy,bkendzior/scipy,maniteja123/scipy,maciejkula/scipy,pbrod/scipy,Shaswat27/scipy,Stefan-Endres/scipy,larsmans/scipy,sriki18/scipy,haudren/scipy,ilayn/scipy,sriki18/scipy,perimosocordiae/scipy,futurulus/scipy,vigna/scipy,mortada/scipy,jjhelmus/scipy,zaxliu/scipy,vigna/scipy,sonnyhu/scipy,pbrod/scipy,rmcgibbo/scipy,mgaitan/scipy,haudren/scipy,rgommers/scipy,jamestwebber/scipy,jor-/scipy,Shaswat27/scipy,ortylp/scipy,mortonjt/scipy,josephcslater/scipy,FRidh/scipy,mingwpy/scipy,ortylp/scipy,sauliusl/scipy,Eric89GXL/scipy,surhudm/scipy,piyush0609/scipy,ndchorley/scipy,vanpact/scipy,jseabold/scipy,trankmichael/scipy,ndchorley/scipy,Gillu13/scipy,njwilson23/scipy,sauliusl/scipy,raoulbq/scipy,person142/scipy,aman-iitj/scipy,rmcgibbo/scipy,vhaasteren/scipy,ChanderG/scipy,jsilter/scipy,maniteja123/scipy,richardotis/scipy,newemailjdm/scipy,Eric89GXL/scipy,mortonjt/scipy,mortada/scipy,witcxc/scipy,mortonjt/scipy,mikebenfield/scipy,ndchorley/scipy,niknow/scipy,mhogg/scipy,aarchiba/scipy,grlee77/scipy,teoliphant/scipy,pnedunuri/scipy,gertingold/scipy,mikebenfield/scipy,scipy/scipy,scipy/scipy,cpaulik/scipy,vanpact/scipy,anielsen001/scipy,anielsen001/scipy,minhlongdo/scipy,FRidh/scipy,jjhelmus/scipy,gfyoung/scipy,piyush0609/scipy,lhilt/scipy,sargas/scipy,endolith/scipy,zxsted/scipy,anielsen001/scipy,gfyoung/scipy,tylerjereddy/scipy,felipebetancur/scipy,raoulbq/scipy,mgaitan/scipy,kleskjr/scipy,pbrod/scipy,andim/scipy,scipy/scipy,Stefan-Endres/scipy,mingwpy/scipy,argriffing/scipy,sargas/scipy,zxsted/scipy,mtrbean/scipy,ilayn/scipy,ogrisel/scipy,andim/scipy,matthewalbani/scipy,jakevdp/scipy,Gillu13/scipy,Shaswat27/scipy,fredrikw/scipy,Gillu13/scipy,person142/scipy,ndchorley/scipy,fernand/scipy,argriffing/scipy,ilayn/scipy,gdooper/scipy,pschella/scipy,surhudm/scipy,aarchiba/scipy,mgaitan/scipy,rgommers/scipy,efiring/scipy,zxsted/scipy,maciejkula/scipy,zerothi/scipy,ilayn/scipy,mingwpy/scipy,lukauskas/scipy,jonycgn/scipy,mhogg/scipy,zxsted/scipy,cpaulik/scipy,sonnyhu/scipy,efiring/scipy,dominicelse/scipy,Srisai85/scipy,Kamp9/scipy,hainm/scipy,apbard/scipy,Eric89GXL/scipy,rmcgibbo/scipy,pnedunuri/scipy,kalvdans/scipy,Srisai85/scipy,futurulus/scipy,minhlongdo/scipy,juliantaylor/scipy,apbard/scipy,woodscn/scipy,petebachant/scipy,bkendzior/scipy,felipebetancur/scipy,ogrisel/scipy,mingwpy/scipy,arokem/scipy,woodscn/scipy,ales-erjavec/scipy,haudren/scipy,surhudm/scipy,nonhermitian/scipy,nmayorov/scipy,zerothi/scipy,nmayorov/scipy,teoliphant/scipy,Eric89GXL/scipy,e-q/scipy,anntzer/scipy,futurulus/scipy,jjhelmus/scipy,mtrbean/scipy,Gillu13/scipy,zxsted/scipy,mdhaber/scipy,hainm/scipy,kleskjr/scipy,befelix/scipy,fernand/scipy,aman-iitj/scipy,andyfaff/scipy,WillieMaddox/scipy,andyfaff/scipy,vhaasteren/scipy,sauliusl/scipy,WillieMaddox/scipy,jseabold/scipy,argriffing/scipy,newemailjdm/scipy,Shaswat27/scipy,sriki18/scipy,sargas/scipy,pbrod/scipy,newemailjdm/scipy,pizzathief/scipy,Stefan-Endres/scipy,larsmans/scipy,dch312/scipy,scipy/scipy,piyush0609/scipy,vberaudi/scipy,fredrikw/scipy,e-q/scipy,sriki18/scipy,minhlongdo/scipy,matthewalbani/scipy,pnedunuri/scipy,mdhaber/scipy,newemailjdm/scipy,cpaulik/scipy,WarrenWeckesser/scipy,pizzathief/scipy,trankmichael/scipy,matthew-brett/scipy,pyramania/scipy,surhudm/scipy,sonnyhu/scipy,gef756/scipy,andyfaff/scipy,ogrisel/scipy,futurulus/scipy,nvoron23/scipy,jamestwebber/scipy,sargas/scipy,endolith/scipy,Srisai85/scipy,sriki18/scipy,josephcslater/scipy,mgaitan/scipy,arokem/scipy,vhaasteren/scipy,njwilson23/scipy,mdhaber/scipy,matthew-brett/scipy,juliantaylor/scipy,cpaulik/scipy,jamestwebber/scipy,vberaudi/scipy,fredrikw/scipy,mortonjt/scipy,WillieMaddox/scipy,futurulus/scipy,petebachant/scipy,woodscn/scipy,dominicelse/scipy,larsmans/scipy,Kamp9/scipy,gfyoung/scipy,kalvdans/scipy,endolith/scipy,FRidh/scipy,mortonjt/scipy,raoulbq/scipy,vhaasteren/scipy,gertingold/scipy,witcxc/scipy,ales-erjavec/scipy,befelix/scipy,trankmichael/scipy,niknow/scipy,grlee77/scipy,ogrisel/scipy,surhudm/scipy,andyfaff/scipy,teoliphant/scipy,zaxliu/scipy,surhudm/scipy,andim/scipy,njwilson23/scipy,giorgiop/scipy,sauliusl/scipy,Gillu13/scipy,maciejkula/scipy,WillieMaddox/scipy,jamestwebber/scipy,fredrikw/scipy,person142/scipy,efiring/scipy,vberaudi/scipy,njwilson23/scipy,befelix/scipy,perimosocordiae/scipy,trankmichael/scipy,nmayorov/scipy,jor-/scipy,mortada/scipy,pschella/scipy,gef756/scipy,mortada/scipy,jor-/scipy,kalvdans/scipy,person142/scipy,aeklant/scipy,felipebetancur/scipy,pbrod/scipy,grlee77/scipy,befelix/scipy,aeklant/scipy,fernand/scipy,dch312/scipy,juliantaylor/scipy,zerothi/scipy,perimosocordiae/scipy,pnedunuri/scipy,nvoron23/scipy,behzadnouri/scipy,juliantaylor/scipy,rmcgibbo/scipy,chatcannon/scipy,josephcslater/scipy,Srisai85/scipy,chatcannon/scipy,lukauskas/scipy,niknow/scipy,WillieMaddox/scipy,anntzer/scipy,pizzathief/scipy,Newman101/scipy,haudren/scipy,mortada/scipy,giorgiop/scipy,hainm/scipy,kleskjr/scipy,gef756/scipy,witcxc/scipy,larsmans/scipy,Dapid/scipy,Kamp9/scipy,rgommers/scipy,hainm/scipy,jjhelmus/scipy,newemailjdm/scipy,gef756/scipy,newemailjdm/scipy,mtrbean/scipy,haudren/scipy,sauliusl/scipy,pschella/scipy,apbard/scipy,perimosocordiae/scipy,hainm/scipy,lhilt/scipy,aman-iitj/scipy,dominicelse/scipy,e-q/scipy,WillieMaddox/scipy,ogrisel/scipy,njwilson23/scipy,piyush0609/scipy,haudren/scipy,scipy/scipy,sonnyhu/scipy,mtrbean/scipy,efiring/scipy,behzadnouri/scipy,vberaudi/scipy,anielsen001/scipy,ortylp/scipy,Kamp9/scipy,ChanderG/scipy,Dapid/scipy,giorgiop/scipy,nonhermitian/scipy,andyfaff/scipy,maciejkula/scipy,dominicelse/scipy,maniteja123/scipy,matthewalbani/scipy,raoulbq/scipy,jonycgn/scipy,vigna/scipy,anntzer/scipy,fredrikw/scipy,perimosocordiae/scipy,WarrenWeckesser/scipy,richardotis/scipy,mikebenfield/scipy,larsmans/scipy,lhilt/scipy,larsmans/scipy,arokem/scipy,anielsen001/scipy,befelix/scipy,gdooper/scipy,zerothi/scipy,jseabold/scipy,efiring/scipy,aeklant/scipy,jor-/scipy,niknow/scipy,matthew-brett/scipy,Srisai85/scipy,fernand/scipy,arokem/scipy,felipebetancur/scipy,bkendzior/scipy,pyramania/scipy,piyush0609/scipy,jakevdp/scipy,sonnyhu/scipy,lukauskas/scipy,tylerjereddy/scipy,gdooper/scipy,lukauskas/scipy,pyramania/scipy,FRidh/scipy,tylerjereddy/scipy,vhaasteren/scipy,jsilter/scipy,mikebenfield/scipy,lukauskas/scipy,kleskjr/scipy,pnedunuri/scipy,anielsen001/scipy,nvoron23/scipy,mortonjt/scipy,petebachant/scipy,anntzer/scipy,Dapid/scipy,chatcannon/scipy,kalvdans/scipy,zaxliu/scipy,Kamp9/scipy,Newman101/scipy,apbard/scipy,jsilter/scipy,giorgiop/scipy,ales-erjavec/scipy,mingwpy/scipy,argriffing/scipy,chatcannon/scipy,ndchorley/scipy,WarrenWeckesser/scipy,nvoron23/scipy,pschella/scipy,tylerjereddy/scipy,Stefan-Endres/scipy,minhlongdo/scipy,jonycgn/scipy,Eric89GXL/scipy,ales-erjavec/scipy,teoliphant/scipy,anntzer/scipy,pyramania/scipy,ChanderG/scipy,Newman101/scipy,Gillu13/scipy,aarchiba/scipy,nvoron23/scipy,futurulus/scipy,andim/scipy,dch312/scipy,aarchiba/scipy,petebachant/scipy,Stefan-Endres/scipy,mikebenfield/scipy,fernand/scipy,niknow/scipy,mgaitan/scipy,gdooper/scipy,efiring/scipy,vanpact/scipy,Dapid/scipy,argriffing/scipy,mingwpy/scipy,grlee77/scipy,maciejkula/scipy,mhogg/scipy,endolith/scipy,Stefan-Endres/scipy,dch312/scipy,woodscn/scipy,giorgiop/scipy,behzadnouri/scipy,jonycgn/scipy,richardotis/scipy,vanpact/scipy,petebachant/scipy,richardotis/scipy,ChanderG/scipy,kleskjr/scipy,jor-/scipy,bkendzior/scipy,mhogg/scipy,felipebetancur/scipy,vigna/scipy,mortada/scipy,behzadnouri/scipy,piyush0609/scipy,pbrod/scipy,mtrbean/scipy,rmcgibbo/scipy,rmcgibbo/scipy,jjhelmus/scipy,woodscn/scipy,nmayorov/scipy,cpaulik/scipy,Shaswat27/scipy,raoulbq/scipy,zerothi/scipy,behzadnouri/scipy,apbard/scipy,Dapid/scipy,njwilson23/scipy,sauliusl/scipy,Eric89GXL/scipy,pizzathief/scipy,rgommers/scipy,Newman101/scipy,maniteja123/scipy