test of string substitute