clean up series_spec + tests for search method