Add a testcase for #5847.
Add a testcase for #5847.

yawboakye/rails,Envek/rails,baerjam/rails,tijwelch/rails,riseshia/railsguides.kr,Stellenticket/rails,Erol/rails,bradleypriest/rails,rails/rails,eileencodes/rails,alecspopa/rails,Envek/rails,shioyama/rails,riseshia/railsguides.kr,printercu/rails,kddeisz/rails,flanger001/rails,lucasmazza/rails,lucasmazza/rails,pschambacher/rails,MichaelSp/rails,Spin42/rails,gcourtemanche/rails,Sen-Zhang/rails,kenta-s/rails,kenta-s/rails,tjschuck/rails,bogdanvlviv/rails,gfvcastro/rails,MSP-Greg/rails,hanystudy/rails,kmcphillips/rails,kamipo/rails,elfassy/rails,illacceptanything/illacceptanything,stefanmb/rails,ledestin/rails,Vasfed/rails,sealocal/rails,vipulnsward/rails,mathieujobin/reduced-rails-for-travis,kmayer/rails,alecspopa/rails,iainbeeston/rails,jeremy/rails,illacceptanything/illacceptanything,notapatch/rails,kirs/rails-1,Spin42/rails,88rabbit/newRails,mechanicles/rails,88rabbit/newRails,Stellenticket/rails,stefanmb/rails,vipulnsward/rails,richseviora/rails,esparta/rails,yalab/rails,gfvcastro/rails,yhirano55/rails,EmmaB/rails-1,samphilipd/rails,kmcphillips/rails,gauravtiwari/rails,kaspth/rails,gcourtemanche/rails,felipecvo/rails,Erol/rails,vipulnsward/rails,shioyama/rails,deraru/rails,kaspth/rails,Sen-Zhang/rails,gavingmiller/rails,sealocal/rails,tgxworld/rails,rossta/rails,arjes/rails,mtsmfm/railstest,tijwelch/rails,xlymian/rails,aditya-kapoor/rails,illacceptanything/illacceptanything,aditya-kapoor/rails,fabianoleittes/rails,odedniv/rails,georgeclaghorn/rails,starknx/rails,schuetzm/rails,shioyama/rails,prathamesh-sonpatki/rails,betesh/rails,vassilevsky/rails,kaspth/rails,baerjam/rails,lcreid/rails,baerjam/rails,mijoharas/rails,gavingmiller/rails,betesh/rails,koic/rails,illacceptanything/illacceptanything,arunagw/rails,yawboakye/rails,yahonda/rails,palkan/rails,kddeisz/rails,bolek/rails,repinel/rails,yhirano55/rails,gfvcastro/rails,illacceptanything/illacceptanything,kmcphillips/rails,kmayer/rails,xlymian/rails,tgxworld/rails,deraru/rails,illacceptanything/illacceptanything,ngpestelos/rails,mohitnatoo/rails,elfassy/rails,maicher/rails,pvalena/rails,mtsmfm/rails,mechanicles/rails,Spin42/rails,samphilipd/rails,mtsmfm/railstest,ngpestelos/rails,sealocal/rails,Vasfed/rails,kenta-s/rails,stefanmb/rails,BlakeWilliams/rails,fabianoleittes/rails,hanystudy/rails,yhirano55/rails,Envek/rails,Edouard-chin/rails,georgeclaghorn/rails,vassilevsky/rails,printercu/rails,illacceptanything/illacceptanything,kachick/rails,matrinox/rails,utilum/rails,travisofthenorth/rails,voray/rails,Sen-Zhang/rails,illacceptanything/illacceptanything,repinel/rails,mtsmfm/rails,bradleypriest/rails,illacceptanything/illacceptanything,tgxworld/rails,ledestin/rails,mathieujobin/reduced-rails-for-travis,utilum/rails,joonyou/rails,betesh/rails,yahonda/rails,mijoharas/rails,yawboakye/rails,shioyama/rails,coreyward/rails,esparta/rails,rails/rails,utilum/rails,brchristian/rails,richseviora/rails,yasslab/railsguides.jp,iainbeeston/rails,MSP-Greg/rails,ttanimichi/rails,arjes/rails,amoody2108/TechForJustice,georgeclaghorn/rails,assain/rails,kmayer/rails,repinel/rails,esparta/rails,yalab/rails,kddeisz/rails,yasslab/railsguides.jp,gauravtiwari/rails,marklocklear/rails,fabianoleittes/rails,repinel/rails,tijwelch/rails,joonyou/rails,hanystudy/rails,notapatch/rails,kachick/rails,schuetzm/rails,kachick/rails,rbhitchcock/rails,flanger001/rails,pvalena/rails,Edouard-chin/rails,odedniv/rails,arjes/rails,rails/rails,felipecvo/rails,lcreid/rails,sergey-alekseev/rails,untidy-hair/rails,yawboakye/rails,koic/rails,baerjam/rails,georgeclaghorn/rails,pvalena/rails,illacceptanything/illacceptanything,starknx/rails,jeremy/rails,bogdanvlviv/rails,aditya-kapoor/rails,marklocklear/rails,marklocklear/rails,yhirano55/rails,gauravtiwari/rails,palkan/rails,schuetzm/rails,mtsmfm/rails,sergey-alekseev/rails,bolek/rails,brchristian/rails,Vasfed/rails,88rabbit/newRails,sergey-alekseev/rails,brchristian/rails,fabianoleittes/rails,palkan/rails,arunagw/rails,betesh/rails,ngpestelos/rails,elfassy/rails,Envek/rails,rafaelfranca/omg-rails,printercu/rails,koic/rails,assain/rails,ttanimichi/rails,voray/rails,prathamesh-sonpatki/rails,prathamesh-sonpatki/rails,notapatch/rails,xlymian/rails,pschambacher/rails,coreyward/rails,kddeisz/rails,eileencodes/rails,flanger001/rails,ledestin/rails,pschambacher/rails,notapatch/rails,deraru/rails,EmmaB/rails-1,esparta/rails,EmmaB/rails-1,matrinox/rails,felipecvo/rails,tgxworld/rails,BlakeWilliams/rails,bogdanvlviv/rails,samphilipd/rails,MichaelSp/rails,voray/rails,utilum/rails,gfvcastro/rails,rbhitchcock/rails,kamipo/rails,flanger001/rails,kirs/rails-1,mathieujobin/reduced-rails-for-travis,Stellenticket/rails,rbhitchcock/rails,bogdanvlviv/rails,Edouard-chin/rails,jeremy/rails,coreyward/rails,pvalena/rails,gcourtemanche/rails,mohitnatoo/rails,palkan/rails,MSP-Greg/rails,travisofthenorth/rails,rafaelfranca/omg-rails,travisofthenorth/rails,rails/rails,MichaelSp/rails,gavingmiller/rails,untidy-hair/rails,tjschuck/rails,maicher/rails,Erol/rails,alecspopa/rails,tjschuck/rails,eileencodes/rails,kirs/rails-1,riseshia/railsguides.kr,amoody2108/TechForJustice,MSP-Greg/rails,rossta/rails,starknx/rails,BlakeWilliams/rails,mechanicles/rails,iainbeeston/rails,iainbeeston/rails,lcreid/rails,aditya-kapoor/rails,bolek/rails,illacceptanything/illacceptanything,prathamesh-sonpatki/rails,vassilevsky/rails,joonyou/rails,joonyou/rails,kmcphillips/rails,mohitnatoo/rails,rafaelfranca/omg-rails,lucasmazza/rails,eileencodes/rails,mohitnatoo/rails,yasslab/railsguides.jp,arunagw/rails,deraru/rails,mijoharas/rails,illacceptanything/illacceptanything,Erol/rails,travisofthenorth/rails,riseshia/railsguides.kr,yalab/rails,yalab/rails,amoody2108/TechForJustice,Vasfed/rails,untidy-hair/rails,richseviora/rails,untidy-hair/rails,vipulnsward/rails,yasslab/railsguides.jp,ttanimichi/rails,Edouard-chin/rails,assain/rails,yahonda/rails,BlakeWilliams/rails,yahonda/rails,rossta/rails,maicher/rails,odedniv/rails,illacceptanything/illacceptanything,jeremy/rails,Stellenticket/rails,assain/rails,tjschuck/rails,bradleypriest/rails,matrinox/rails,arunagw/rails,schuetzm/rails,illacceptanything/illacceptanything,printercu/rails,mtsmfm/railstest,mechanicles/rails,lcreid/rails,kamipo/rails,illacceptanything/illacceptanything