Added integration test and made a few of the functions in Search private