     label: 'Special'
     property_keys: [ 'uuid' ]
 
-  node = db.nodes({uuid: "#{Math.floor(Math.random()*(999999999-1+1)+1)}"}).labels.set('Special')
+  node = db.nodes({uuid: "#{Math.floor(Math.random()*999999998)}"}).labels.set('Special')
   test.equal _.pick((db.index.create('Special', ['uuid']) || {}), 'label', 'property_keys'), res
   test.equal [_.pick((db.index.get('Special')[0] || {}), 'label', 'property_keys')], [res]
   test.equal db.index.drop('Special', 'uuid'), []

    type: 'UNIQUENESS'
    property_keys: [ 'uuid' ]

  node = db.nodes({uuid: "#{Math.floor(Math.random()*(999999999-1+1)+1)}"}).labels.set('Special')
  test.equal db.constraint.create('Special', ['uuid']), res
  test.equal db.constraint.get(), [res]
  test.equal db.constraint.get('Special'), [res]


  n1 = db.nodes()
  n2 = db.nodes()
  r = n1.to n2, 'Special', {uuid: "#{Math.floor(Math.random()*999999998)}"}
  index = r.index.create('Special', 'uuid')
  test.isTrue _.isObject index
  uri = index.indexed
