Add tests for max_lines and display_length.
Add tests for max_lines and display_length.

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