Test for returning all cookies as an object