incorporated tests for stubbing out find calls and decoupled the api call from the rest of the controllers and tests