adding unit tests for ioc changes