Test for HasResource.
Added Sequence and SequenceNode parameters.