fixing newlines in test_series.py