searchFunction for Junit testing added