added indexing test