Problem with tests and cookies

Hi, very briefly, this is my interaction in debugger mode in a
controller test. I have my test where I initialize some cookies, but
then the test itself, when the controller action is executed, fails
because even though the cookies are properly set, when accessing them
i always get nil. Not sure if this is a bug in Rails, any tips on
this? Should I write in rails-core?

(rdb:1) cookies
{:intranet_id=>"4", :intranet_hash=>"$2a
(rdb:1) cookies[:intranet_id]
(rdb:1) cookies.class