it "returns local census record when remote census api it's available but invalid" do
        remote_census_api_response = RemoteCensusApi::Response.new(invalid_body)
        allow_any_instance_of(RemoteCensusApi).to receive(:call).and_return(remote_census_api_response)
        local_census_response = LocalCensus::Response.new(create(:local_census_record))
        allow_any_instance_of(LocalCensus).to receive(:call).and_return(local_census_response)