tested splitting by newline allt tests OK