title: Testing neo4j with indexes
body: <p>I want to test my neo4j project with nosql unit. This works fine as long as I don't need a lucene index. Is there a way to create a test database with an index? 
  I think graphml offers no possibility for indexes, so I try to use the auto-index like this:</p>
  
  <pre><code>@Before
  public void startAutoIndex(){
      AutoIndexer&lt;Node&gt; nodeAutoIndexer = graphDb.index().getNodeAutoIndexer();
      nodeAutoIndexer.startAutoIndexingProperty( "id" );
      nodeAutoIndexer.startAutoIndexingProperty( "refname" );
      nodeAutoIndexer.setEnabled(true);
  }
  </code></pre>
  
  <p>this doesn't work for me.
  Is there another way to implement the auto-index? </p>
  
  <p>Best regards
  Jan</p>