unit test: XMLfactory: Add test for running with multiple listeners (fails)
xmlfactory: Fix handling of multiple-registrations-for-one-listener