Adds API calls to search and stubs out test