[BUGFIX] Use same line endings in test as in function