Tests for replace characters.