Fix to TinyIoC + unit test

https://github.com/XForms/Xamarin-Forms-Labs/issues/331#issuecomment-565
31964