Fix inheritance test