I think there is a bug when you try to get the formattedCode of a parseTree.
Try this for example:
(Set >> #add:) parseTree formattedCode
I'm sure it worked correctly in previous versions of pharo.
Any idea?