add single table inheritance test and make change