latest corrections to series.py with better tests