Add failing test for relationship with inheritance