fix newline command in tests