Add test to write cookie with JavaScript with P3P header