Change test to not rely on the direct form of the string generated by .gist or .perl.