SeriesParser was refactored, tests were added for it