Test index

Added a text index, will be changed in the future.