Integration test for exceptions middleware.

* Add integration test that asserts that show exceptions
  middleware is loaded in the stack.
Add specs for cache page.