Fix test failures

 * The test failures were caused by GraphDatabaseService.index() now requiering
   a transaction.