fix cookie test

statement did not properly test multi-line cookie representation.