Add regression test for #1021
Add regression test for #1021

JonMidhir/sinatra,burningTyger/sinatra,JonMidhir/sinatra,jkowens/sinatra,jkowens/sinatra,JonMidhir/sinatra,jkowens/sinatra,ryanshaw/sinatra,ryanshaw/sinatra,burningTyger/sinatra,sinatra/sinatra,sinatra/sinatra,mwpastore/sinatra,mwpastore/sinatra,mwpastore/sinatra,burningTyger/sinatra