add tests to ComponentTypeIdGenerator