TST: added newline-test to class TestSaveTxt in test_io.py

Tests the correct usage of newline in savetxt.

See #3976