SES-1417 : Abstract test utility methods out to super class
Fix errors in SPARQLXMLWriterBase that were not checking to
make sure the document was open