Addressing a few of matt's concerns
fixing search api call test