Add regression test for #5604
Add regression test for #5604

saimn/astropy,lpsinger/astropy,stargaser/astropy,astropy/astropy,AustereCuriosity/astropy,MSeifert04/astropy,bsipocz/astropy,mhvk/astropy,astropy/astropy,funbaker/astropy,larrybradley/astropy,stargaser/astropy,lpsinger/astropy,joergdietrich/astropy,dhomeier/astropy,funbaker/astropy,mhvk/astropy,DougBurke/astropy,larrybradley/astropy,pllim/astropy,bsipocz/astropy,tbabej/astropy,pllim/astropy,MSeifert04/astropy,larrybradley/astropy,tbabej/astropy,dhomeier/astropy,tbabej/astropy,larrybradley/astropy,saimn/astropy,kelle/astropy,aleksandr-bakanov/astropy,StuartLittlefair/astropy,saimn/astropy,DougBurke/astropy,bsipocz/astropy,astropy/astropy,tbabej/astropy,joergdietrich/astropy,kelle/astropy,astropy/astropy,kelle/astropy,lpsinger/astropy,mhvk/astropy,pllim/astropy,MSeifert04/astropy,aleksandr-bakanov/astropy,pllim/astropy,AustereCuriosity/astropy,saimn/astropy,stargaser/astropy,DougBurke/astropy,larrybradley/astropy,StuartLittlefair/astropy,lpsinger/astropy,joergdietrich/astropy,dhomeier/astropy,dhomeier/astropy,lpsinger/astropy,AustereCuriosity/astropy,mhvk/astropy,saimn/astropy,StuartLittlefair/astropy,AustereCuriosity/astropy,joergdietrich/astropy,AustereCuriosity/astropy,MSeifert04/astropy,pllim/astropy,DougBurke/astropy,kelle/astropy,astropy/astropy,tbabej/astropy,kelle/astropy,bsipocz/astropy,joergdietrich/astropy,aleksandr-bakanov/astropy,dhomeier/astropy,stargaser/astropy,mhvk/astropy,funbaker/astropy,StuartLittlefair/astropy,StuartLittlefair/astropy,aleksandr-bakanov/astropy,funbaker/astropy