Adds unit test for Cookie