modify test examples from string to files.