moved cookies tests to proper file

Now cookies tests are in the expected file that also avoids running them under JRuby to avoid the failure.