Correcting the test case for testing cookie setter.