Fix tests
Don't forget to close the file
Allow newlines in some more places
Allow newlines within array literals