Test instance or id by the model type
Make sure related properties are defined for RDBMS