code: def test_order(dvc):
      stage = create_stage(
          PipelineStage,
          dvc,
          outs=["output"],
          deps=["input"],
          **kwargs,
          always_changed=True,
          frozen=True,
      )
      # `create_stage` checks for existence of `wdir`
      stage.wdir = "some-dir"
      assert list(to_pipeline_file(stage)["something"].keys()) == [
          "cmd",
          "wdir",
          "deps",
          "outs",
          "frozen",
          "always_changed",
      ]
  
imports: import os
  import pytest
  from voluptuous import Schema
  from dvc import output
  from dvc.dvcfile import PROJECT_FILE
  from dvc.schema import SINGLE_PIPELINE_STAGE_SCHEMA
  from dvc.stage import PipelineStage, create_stage
  from dvc.stage.serialize import to_pipeline_file
label_desc: Use image node_id 13 for calling a global function with example usage: test_order(dvc) without return types