fix incorrect assertions in RdfSourceTest.putReplaceResource

I believe this was never getting called because the iterator was exhaused by toSet(). I assume the intent was to remove the original titles and add a new one? I changed this to just call removeAll(DCTerms.title), which should work even if the original did not have the property.