add test for level 2 inheritance