txn: fix test so each goroutine gets a different n