transaction fixes + findOrCreate test fix