Raju | BSHR-388 | Added integration test for search api, remove unused code