def METHOD_NAME(self):
    payload = "test packet"     # payload length is 11 bytes
    # header contains packet length, twice (bit-swapped)
    header = "\x00\xd0\x00\xd0"
    packet = header + payload
    pad = (0,) * 64
    src_data = (0, 1, 1, 1, 0, 0, 0, 1, 1) + \
        tuple(string_to_1_0_list(packet)) + pad
    expected = list(map(int, src_data[9 + 32:-len(pad)]))
    src = blocks.vector_source_b(src_data)
    op = digital.correlate_access_code_bb_ts("0011", 0, "sync")
    dst = blocks.vector_sink_b()
    self.tb.connect(src, op, dst)
    self.tb.run()
    result_data = dst.data()
    result_tags = dst.tags()
    self.assertEqual(len(result_data), len(payload) * 8)
    self.assertEqual(result_tags[0].offset, 0)
    self.assertEqual(pmt.to_long(result_tags[0].value), len(payload) * 8)
    self.assertEqual(result_data, expected)