Fixed string.replace issue in testing..