added search resource endpoint and tests
Revert "added search resource endpoint and tests"

This reverts commit c1f2c41e3ba904549ca480f44b864f08a0bddbbd.