updating ruby hash syntax in cookies tests
adding fetch for permanent and signed cookies