Always fix line endings
Add test cases for inline scripts