Changed cookie name and added extra test.