Writing tests around the cookie configuration stuff.