fixed cookie test