add regression test for #5743
add regression test for #5743

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