Added tests for mediator hasHasndler function.
#62 XML object disposed with System.disposeXML();