Add support for Rack::MockResponse

I was having issues getting this to work in my tests. Reason being is that `Rack::MockResponse` does not respond to `#code` but instead to `#status`. Both implementations are now supported. 

While running tests, I found two broken test cases and fixed those as well.