add test for inherited property indexing