Removed 'TEST-' prepend from the file name
Fixed the XML character escaping regex

Prepending 'TEST-' prevents users from having full control of the name of the output files.
The specs were failing because the ampersand regex was running on the previous replaces. So $lt; was becoming $amp;lt;. Moved the ampersand regex to the front.