Refactor UpcSearchApiTest