code: def test_tractogram_file_properties(self):
      trk = TrkFile.load(DATA["simple_trk_fname"])
      assert trk.streamlines == trk.tractogram.streamlines
      assert_array_equal(trk.affine, trk.header[Field.VOXEL_TO_RASMM])
  
imports: import copy
  import os
  import sys
  import unittest
  from io import BytesIO
  from os.path import join
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ...testing import assert_arr_dict_equal, clear_and_catch_warnings, data_path, error_warnings
  from ..None import trk
  from ..header import Field
  from ..tractogram import Tractogram
  from ..tractogram_file import HeaderError, HeaderWarning
  from ..trk import TrkFile, decode_value_from_name, encode_value_in_name, get_affine_trackvis_to_rasmm
  from .test_tractogram import assert_tractogram_equal
label_desc: Use image node_id 8 for calling the TestTRK obj's underlying member method code with example usage: obj.test_tractogram_file_properties() without return types