adding specs for partial search and fixing return values for non block serach