       # load a flow
       flowService.fetch(flows.favorites.id)
       flowService.contactFieldSearch = []
+      flowService.updateContactSearch = []
       flowService.language = {iso_code:'base'}
       $http.flush()
       flowService.contactFieldSearch = [{id:'national_id',text:'National ID'}]
+      flowService.updateContactSearch = [{id:'national_id',text:'National ID'}]
 
       # find an actin to edit
       actionset = flowService.flow.action_sets[0]


        # should still have one to choose from
        expect(flowService.contactFieldSearch.length).toBe(1)
      $timeout.flush()

      # now open our modal and try adding a field


        # new fields should be tacked on the end
        expect(flowService.contactFieldSearch.length).toBe(2)
        expect(flowService.updateContactSearch.length).toBe(2)

        # check that the NEW markers are stripped off
        added = flowService.contactFieldSearch[1]
        expect(added.id).toBe('a_new_field')
        expect(added.text).toBe('A New Field')

        added = flowService.updateContactSearch[1]
        expect(added.id).toBe('a_new_field')
        expect(added.text).toBe('A New Field')
      $timeout.flush()
