Extract test for including and inheritance case