Added a better cookie test.