testing for line endings