fixed regression due to my recent change in String::RemoveAt() API and added regression test on String::RemoveAt()