added search unit tests