Add test for newlines in arrays