Adding in some more replaceWith tests for #5917.