Extract test for no-include, no-inheritance case