Implemented tests for Cookie