CFY-1511 collection items seperated by a new line when dumping to a file
CFY-1511 fix tests