Code cleanup in series tests
Merge pull request #76 from Coenego/series-tests-fix

Code cleanup in series tests