Fix test for getting values from cookie