Fix line endings in tests. Closes #261.