fixed newline problem in tests
