test: added doIndex