Create index and import test data.