Ignore backup files
Fix tests for LSET
Remove assumptions about line endings from tests