Added test coverage for lifecycles on components resolved by TypeResolver