I've noticed that when testing cookies, the test can only see the
values of cookies that have been changed in actions and doesn't take
into account what the cookie was set to originally.
For example, this test passes (given do_something doesn't nothing to
the cookie) when you'd expect cookie['foo'] to equal 'bar'.
@request.cookies['foo'] = 'bar'
which includes a patch.