Added findExpectedElements to the elementService