lua support and a simple test