don't start a transaction when we reference models.Test
fix transaction