Tests for cookie attrs.