Create index and type for testing