convert caching middleware tests to rspec
add spec for :ignore_params option of caching middleware