Add regression test for ticket #501 [patch by Andrew Straw].
Add regression test for ticket #501 [patch by Andrew Straw].

stefanv/numpy,groutr/numpy,SiccarPoint/numpy,KaelChen/numpy,joferkington/numpy,ogrisel/numpy,chiffa/numpy,dch312/numpy,drasmuss/numpy,Linkid/numpy,ssanderson/numpy,cowlicks/numpy,argriffing/numpy,dwillmer/numpy,dch312/numpy,ContinuumIO/numpy,ewmoore/numpy,immerrr/numpy,jakirkham/numpy,skymanaditya1/numpy,shoyer/numpy,grlee77/numpy,GaZ3ll3/numpy,pelson/numpy,cowlicks/numpy,anntzer/numpy,mingwpy/numpy,githubmlai/numpy,ajdawson/numpy,cjermain/numpy,embray/numpy,yiakwy/numpy,numpy/numpy-refactor,ssanderson/numpy,tynn/numpy,andsor/numpy,mwiebe/numpy,stefanv/numpy,jschueller/numpy,ekalosak/numpy,ewmoore/numpy,joferkington/numpy,argriffing/numpy,has2k1/numpy,skwbc/numpy,bertrand-l/numpy,immerrr/numpy,mattip/numpy,leifdenby/numpy,matthew-brett/numpy,nbeaver/numpy,ajdawson/numpy,ChanderG/numpy,dwf/numpy,Linkid/numpy,brandon-rhodes/numpy,Srisai85/numpy,nbeaver/numpy,kiwifb/numpy,shoyer/numpy,chiffa/numpy,rmcgibbo/numpy,rajathkumarmp/numpy,gmcastil/numpy,nbeaver/numpy,ddasilva/numpy,seberg/numpy,SiccarPoint/numpy,madphysicist/numpy,abalkin/numpy,SiccarPoint/numpy,leifdenby/numpy,felipebetancur/numpy,leifdenby/numpy,KaelChen/numpy,jorisvandenbossche/numpy,naritta/numpy,Anwesh43/numpy,empeeu/numpy,andsor/numpy,nguyentu1602/numpy,sinhrks/numpy,hainm/numpy,empeeu/numpy,SunghanKim/numpy,dwf/numpy,pyparallel/numpy,has2k1/numpy,skymanaditya1/numpy,bringingheavendown/numpy,ViralLeadership/numpy,pbrod/numpy,mortada/numpy,skymanaditya1/numpy,nguyentu1602/numpy,mingwpy/numpy,numpy/numpy-refactor,astrofrog/numpy,simongibbons/numpy,ogrisel/numpy,solarjoe/numpy,maniteja123/numpy,pbrod/numpy,Eric89GXL/numpy,bmorris3/numpy,mhvk/numpy,utke1/numpy,empeeu/numpy,numpy/numpy,BMJHayward/numpy,MaPePeR/numpy,GrimDerp/numpy,sonnyhu/numpy,Yusa95/numpy,naritta/numpy,has2k1/numpy,pizzathief/numpy,gfyoung/numpy,jschueller/numpy,rherault-insa/numpy,pyparallel/numpy,chatcannon/numpy,WillieMaddox/numpy,immerrr/numpy,jorisvandenbossche/numpy,tdsmith/numpy,argriffing/numpy,WarrenWeckesser/numpy,pdebuyl/numpy,ESSS/numpy,pdebuyl/numpy,MSeifert04/numpy,trankmichael/numpy,matthew-brett/numpy,Dapid/numpy,AustereCuriosity/numpy,ewmoore/numpy,dimasad/numpy,hainm/numpy,githubmlai/numpy,maniteja123/numpy,sinhrks/numpy,sinhrks/numpy,CMartelLML/numpy,yiakwy/numpy,cjermain/numpy,dato-code/numpy,grlee77/numpy,tdsmith/numpy,GrimDerp/numpy,stefanv/numpy,anntzer/numpy,cowlicks/numpy,naritta/numpy,rmcgibbo/numpy,rajathkumarmp/numpy,kirillzhuravlev/numpy,jakirkham/numpy,pizzathief/numpy,Yusa95/numpy,drasmuss/numpy,immerrr/numpy,groutr/numpy,ContinuumIO/numpy,jorisvandenbossche/numpy,endolith/numpy,stuarteberg/numpy,cjermain/numpy,grlee77/numpy,Linkid/numpy,dwf/numpy,NextThought/pypy-numpy,madphysicist/numpy,yiakwy/numpy,mindw/numpy,ajdawson/numpy,jorisvandenbossche/numpy,GaZ3ll3/numpy,SunghanKim/numpy,KaelChen/numpy,hainm/numpy,kirillzhuravlev/numpy,numpy/numpy,pyparallel/numpy,dwillmer/numpy,mattip/numpy,anntzer/numpy,seberg/numpy,ogrisel/numpy,AustereCuriosity/numpy,rmcgibbo/numpy,gmcastil/numpy,WillieMaddox/numpy,ChanderG/numpy,sonnyhu/numpy,madphysicist/numpy,astrofrog/numpy,stuarteberg/numpy,drasmuss/numpy,MSeifert04/numpy,moreati/numpy,hainm/numpy,jschueller/numpy,charris/numpy,mindw/numpy,kiwifb/numpy,cowlicks/numpy,bringingheavendown/numpy,mindw/numpy,gfyoung/numpy,astrofrog/numpy,rhythmsosad/numpy,pelson/numpy,pdebuyl/numpy,ddasilva/numpy,GrimDerp/numpy,shoyer/numpy,MaPePeR/numpy,jankoslavic/numpy,abalkin/numpy,WarrenWeckesser/numpy,rgommers/numpy,MichaelAquilina/numpy,b-carter/numpy,skwbc/numpy,charris/numpy,WarrenWeckesser/numpy,ekalosak/numpy,musically-ut/numpy,CMartelLML/numpy,dwf/numpy,Srisai85/numpy,simongibbons/numpy,ChristopherHogan/numpy,mattip/numpy,larsmans/numpy,Eric89GXL/numpy,andsor/numpy,GaZ3ll3/numpy,kirillzhuravlev/numpy,rhythmsosad/numpy,pbrod/numpy,ChristopherHogan/numpy,MichaelAquilina/numpy,MSeifert04/numpy,Anwesh43/numpy,endolith/numpy,stefanv/numpy,simongibbons/numpy,Linkid/numpy,jakirkham/numpy,solarjoe/numpy,pbrod/numpy,mortada/numpy,gmcastil/numpy,CMartelLML/numpy,ViralLeadership/numpy,grlee77/numpy,KaelChen/numpy,mhvk/numpy,dimasad/numpy,Dapid/numpy,Anwesh43/numpy,ssanderson/numpy,bringingheavendown/numpy,ChristopherHogan/numpy,kiwifb/numpy,musically-ut/numpy,ahaldane/numpy,behzadnouri/numpy,gfyoung/numpy,chatcannon/numpy,mwiebe/numpy,SunghanKim/numpy,embray/numpy,andsor/numpy,mathdd/numpy,MaPePeR/numpy,WarrenWeckesser/numpy,ChanderG/numpy,GaZ3ll3/numpy,GrimDerp/numpy,numpy/numpy,bertrand-l/numpy,BMJHayward/numpy,njase/numpy,madphysicist/numpy,bmorris3/numpy,ogrisel/numpy,tdsmith/numpy,bmorris3/numpy,ahaldane/numpy,nguyentu1602/numpy,dwf/numpy,dato-code/numpy,trankmichael/numpy,groutr/numpy,behzadnouri/numpy,MaPePeR/numpy,brandon-rhodes/numpy,yiakwy/numpy,Eric89GXL/numpy,numpy/numpy,astrofrog/numpy,numpy/numpy-refactor,MSeifert04/numpy,dato-code/numpy,solarjoe/numpy,sigma-random/numpy,mortada/numpy,jankoslavic/numpy,rmcgibbo/numpy,dato-code/numpy,pelson/numpy,pdebuyl/numpy,endolith/numpy,skymanaditya1/numpy,mwiebe/numpy,rgommers/numpy,ewmoore/numpy,tacaswell/numpy,mathdd/numpy,joferkington/numpy,njase/numpy,Srisai85/numpy,utke1/numpy,Yusa95/numpy,musically-ut/numpy,tdsmith/numpy,b-carter/numpy,bertrand-l/numpy,moreati/numpy,ViralLeadership/numpy,naritta/numpy,rhythmsosad/numpy,abalkin/numpy,charris/numpy,njase/numpy,bmorris3/numpy,madphysicist/numpy,Dapid/numpy,anntzer/numpy,rherault-insa/numpy,seberg/numpy,ekalosak/numpy,jonathanunderwood/numpy,NextThought/pypy-numpy,jonathanunderwood/numpy,Srisai85/numpy,rhythmsosad/numpy,ekalosak/numpy,ahaldane/numpy,pizzathief/numpy,jschueller/numpy,ContinuumIO/numpy,SunghanKim/numpy,skwbc/numpy,rudimeier/numpy,ahaldane/numpy,pelson/numpy,embray/numpy,maniteja123/numpy,rgommers/numpy,tynn/numpy,grlee77/numpy,jonathanunderwood/numpy,githubmlai/numpy,matthew-brett/numpy,behzadnouri/numpy,sigma-random/numpy,felipebetancur/numpy,mattip/numpy,sigma-random/numpy,stuarteberg/numpy,stefanv/numpy,jankoslavic/numpy,brandon-rhodes/numpy,sonnyhu/numpy,matthew-brett/numpy,ESSS/numpy,WillieMaddox/numpy,dwillmer/numpy,mhvk/numpy,mindw/numpy,pizzathief/numpy,embray/numpy,numpy/numpy-refactor,dch312/numpy,ahaldane/numpy,dwillmer/numpy,larsmans/numpy,BMJHayward/numpy,BabeNovelty/numpy,rajathkumarmp/numpy,dch312/numpy,embray/numpy,brandon-rhodes/numpy,tacaswell/numpy,trankmichael/numpy,empeeu/numpy,sonnyhu/numpy,pbrod/numpy,ChanderG/numpy,larsmans/numpy,cjermain/numpy,kirillzhuravlev/numpy,WarrenWeckesser/numpy,MichaelAquilina/numpy,SiccarPoint/numpy,rudimeier/numpy,BabeNovelty/numpy,trankmichael/numpy,nguyentu1602/numpy,rudimeier/numpy,sigma-random/numpy,b-carter/numpy,BabeNovelty/numpy,jankoslavic/numpy,mathdd/numpy,mingwpy/numpy,mortada/numpy,shoyer/numpy,moreati/numpy,chatcannon/numpy,tacaswell/numpy,Anwesh43/numpy,ESSS/numpy,felipebetancur/numpy,chiffa/numpy,jorisvandenbossche/numpy,simongibbons/numpy,utke1/numpy,ewmoore/numpy,Yusa95/numpy,dimasad/numpy,pelson/numpy,endolith/numpy,matthew-brett/numpy,joferkington/numpy,jakirkham/numpy,CMartelLML/numpy,mhvk/numpy,ChristopherHogan/numpy,astrofrog/numpy,rajathkumarmp/numpy,has2k1/numpy,shoyer/numpy,rudimeier/numpy,pizzathief/numpy,simongibbons/numpy,tynn/numpy,jakirkham/numpy,charris/numpy,mhvk/numpy,musically-ut/numpy,MSeifert04/numpy,ddasilva/numpy,larsmans/numpy,seberg/numpy,AustereCuriosity/numpy,ajdawson/numpy,NextThought/pypy-numpy,Eric89GXL/numpy,rgommers/numpy,sinhrks/numpy,mingwpy/numpy,felipebetancur/numpy,githubmlai/numpy,MichaelAquilina/numpy,dimasad/numpy,ogrisel/numpy,mathdd/numpy,stuarteberg/numpy,BabeNovelty/numpy,BMJHayward/numpy,numpy/numpy-refactor,NextThought/pypy-numpy,rherault-insa/numpy