Fixed build and tests

- Fixed build by removing the reference of obsolete IComponent<>;
- changed tests to reflect actual Base/Derived Component behavior;