Fixed cookie storage test