Simplify cookie test