add indexing test cases