More tests added for join table inheritance