(chore) added search function unit test