Added test

Added test for string replace.