Small changes to test_classifier.py; can now load a test text from a XML document