Joined table inheritance support
Added joined table inheritance tests