added unit tests for scroll_search method