Fix transaction test