add replaceRange:length: method, and test it.