Allow each FormatReaderTest instance to run in a separate thread

This requires placing the XML validation call in a 'synchronized' block,
as that code is not thread-safe.