Added test for rollback making belongsTo and hasMany relations null