new_contents: #!/usr/bin/env python2
  # coding: utf-8
  """Issue from Github."""
  
  import unittest
  
  from triton import *
  
  
  class TestIssue673(unittest.TestCase):
  
      """Testing #673."""
  
      def setUp(self):
          """Define the arch."""
          self.ctx = TritonContext()
          self.ctx.setArchitecture(ARCH.X86_64)
  
  
      def test_issue1(self):
          inst = Instruction("\xc0\xc0\x00") # rol al, 0
          self.ctx.processing(inst)
          self.assertEqual(len(inst.getUndefinedRegisters()), 0)
          self.assertEqual(len(inst.getReadRegisters()), 1)
          self.assertEqual(len(inst.getWrittenRegisters()), 2)
  
  
      def test_issue2(self):
          inst = Instruction("\xc0\xc0\x01") # rol al, 1
          self.ctx.processing(inst)
          self.assertEqual(len(inst.getUndefinedRegisters()), 0)
          self.assertEqual(len(inst.getReadRegisters()), 2)
          self.assertEqual(len(inst.getWrittenRegisters()), 4)
  
  
      def test_issue3(self):
          inst = Instruction("\xc0\xc0\x07") # rol al, 7
          self.ctx.processing(inst)
          self.assertEqual(len(inst.getUndefinedRegisters()), 1)
          self.assertEqual(len(inst.getReadRegisters()), 2)
          self.assertEqual(len(inst.getWrittenRegisters()), 4)
  
subject: Fix #673: Add new unittest