Finished ibsearch with testing