rename some variables for clarity
add rspec to add some tests
Temporarily back down to a rack that doesn't complain

https://github.com/rails/rails/pull/8812
add testing skeleton.  don't use rails so tests will fly.