def METHOD_NAME():
    path_prefix = os.path.dirname(os.path.abspath(__file__))
    behavior_spec, pair_infos, total_expected = load_demonstration(
        path_prefix + "/test.demo"
    )
    assert np.sum(behavior_spec.observation_specs[0].shape) == 8
    assert len(pair_infos) == total_expected
    _, demo_buffer = demo_to_buffer(path_prefix + "/test.demo", 1, BEHAVIOR_SPEC)
    assert (
        len(demo_buffer[BufferKey.CONTINUOUS_ACTION]) == total_expected - 1
        or len(demo_buffer[BufferKey.DISCRETE_ACTION]) == total_expected - 1
    )