Test for relationship with lazy="dynamic"