tested search_for_block