IoC unit tests added

Some basic tests to confirm the interface implementations are uniform.
Fixed TinyIoC and SimpleInjector so the inner exceptions are not
ignored (target invoke and so on).