SeriesServiceImpl: improved code coverage and join a couple tests to one.
SeriesServiceImpl: extract method.

Fix warning from PMD about deep nested if-s.

No functional changes.
SeriesServiceImpl: added static modifier for a couple of methods.

Should be in fcb22ea280174776a734b4dd1b3ce53d47db7520 commit.

No functional changes.