TST: add test for random distributions. Closes #1512.
TST: add test for random distributions. Closes #1512.

These tests ensure that returned values stay the same, which is necessary
because other tests rely on this when setting a fixed seed.

Thanks to Vincent Davis.

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