Added test

Added test for string replace.
All these inline data are actually testing the same thing. A simple `Fact`would be sufficient to prove there is a bug.