test IoC with XML