test for IoC order