replaceAdjacentText Method test sample