Added conversions to StreamSource as tests have been failing due to 'Source types not yet supported by the SAX Filter. Only supports StreamSource and JavaSource at present.' error